<?php /* Smarty version Smarty-3.0.7, created on 2014-01-03 15:47:22
         compiled from "E:/runtime/other/zqn.sh/app_web/_view/templates\news.html" */ ?>
<?php /*%%SmartyHeaderCode:1352152c66b0a715299-52020911%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '48f0834001941b12af93af95348bb2517c9e3c5f' => 
    array (
      0 => 'E:/runtime/other/zqn.sh/app_web/_view/templates\\news.html',
      1 => 1388735240,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1352152c66b0a715299-52020911',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate_utf8')) include 'E:\runtime\other\zqn.sh\tryPHP\library\smarty\plugins\modifier.truncate_utf8.php';
if (!is_callable('smarty_modifier_date_format')) include 'E:\runtime\other\zqn.sh\tryPHP\library\smarty\plugins\modifier.date_format.php';
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>大连儿童摄影 - 色彩婴幼儿私家摄影</title>
<link rel="shortcut icon" href="favicon.ico" />
<link rel="bookmark" href="favicon.ico" />
<Meta name="Description" Content="色彩婴幼儿私家摄影是一家专注于大连儿童摄影的专业摄影机构。个性化的服务，生活化的风格，专业化的品质。">
<Meta name="Keywords" Content="大连儿童摄影,儿童摄影,色彩婴幼儿私家摄影,私家儿童摄影">
<Meta name="Copyright" Content="版权所有，色彩婴幼儿私家摄影">
<link rel="stylesheet" type="text/css" href="<?php echo @APP_PATH;?>
/images/css.css">
<link rel="stylesheet" type="text/css" href="<?php echo @APP_PATH;?>
/images/css_nav.css">
<link rel="stylesheet" type="text/css" href="<?php echo @APP_PATH;?>
/images/xixi.css">
<script type="text/javascript" src="<?php echo @APP_PATH;?>
/images/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo @APP_PATH;?>
/images/lrtk.js"></script>
<script type="text/javascript" src="<?php echo @APP_PATH;?>
/images/ScrollPic.js"></script>
<script type="text/javascript">
function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
</script>
</head>

<body>
<?php $_template = new Smarty_Internal_Template("_header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<div align="center"><table width="1000" border="0" cellspacing="0" cellpadding="0" background="<?php echo @APP_PATH;?>
/images/nybannerbg.png">
  <tr>
    <td height="325" valign="top"><div style="margin:10px;"><img src="<?php echo $_smarty_tpl->getVariable('Banner')->value;?>
" width="980" height="280" /></div></td>
  </tr>
</table>
</div>
<div align="center">
  <table width="1000" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="720" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="67" valign="top" background="<?php echo @APP_PATH;?>
/images/nylm2.png"><div class="wz">当前所在位置：<a href="index.htm">网站首页</a>&gt; 最新活动</div></td>
        </tr>
        <tr>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="36" valign="top" background="<?php echo @APP_PATH;?>
/images/nyzbg.png"><img src="<?php echo @APP_PATH;?>
/images/nyz.png" width="36" height="400" /></td>
              <td height="500" valign="top"><div class="nr" style="padding-top:40px; padding-left:30px; padding-right:20px;">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" background="<?php echo @APP_PATH;?>
/images/line.png">
                 <?php  $_smarty_tpl->tpl_vars['Row'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('Data')->value['Rows']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['Row']->key => $_smarty_tpl->tpl_vars['Row']->value){
?>
                  <tr>
                    <td width="25" height="32" bgcolor="#FFFFFF"><img src="<?php echo @APP_PATH;?>
/images/go3.png" width="15" height="16" /></td>
                    <td width="510"><a href="./?application=web&controller=news&method=show&id=<?php echo $_smarty_tpl->tpl_vars['Row']->value['ID'];?>
" target="_blank"><?php echo smarty_modifier_truncate_utf8($_smarty_tpl->tpl_vars['Row']->value['Title'],32,"..");?>
</a></td>
                    <td width="99" class="time2">time:<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['Row']->value['Datetime'],"%Y-%m-%d");?>
</td>
                  </tr>
                  <?php }} ?>   
                </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="40" align="center">
                        <?php if ($_smarty_tpl->getVariable('Data')->value['CurrentPage']>1){?>
                            <a href="./?application=web&controller=news&page=<?php echo $_smarty_tpl->getVariable('Data')->value['CurrentPage']-1;?>
"> &lt;&lt; </a>
                        <?php }else{ ?>
                            &lt;&lt;                        
                        <?php }?>                                                     
                            <?php $_smarty_tpl->tpl_vars['PageRange'] = new Smarty_variable($_smarty_tpl->getVariable('Data')->value['CurrentPage']/10*10, null, null);?>
                            <?php $_smarty_tpl->tpl_vars['PageStart'] = new Smarty_variable($_smarty_tpl->getVariable('PageRange')->value-5, null, null);?>
                            <?php $_smarty_tpl->tpl_vars['PageEnd'] = new Smarty_variable($_smarty_tpl->getVariable('PageRange')->value+5, null, null);?>                                                                         
                            <?php if ($_smarty_tpl->getVariable('PageStart')->value<1){?>
                                <?php $_smarty_tpl->tpl_vars['PageStart'] = new Smarty_variable(1, null, null);?>             
                            <?php }?>      
                            <?php if ($_smarty_tpl->getVariable('PageEnd')->value>$_smarty_tpl->getVariable('Data')->value['PageCount']){?>
                                <?php $_smarty_tpl->tpl_vars['PageEnd'] = new Smarty_variable($_smarty_tpl->getVariable('Data')->value['PageCount']+1, null, null);?>             
                            <?php }?>                                                                                 
                            <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['name'] = 'Page';
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start'] = (int)$_smarty_tpl->getVariable('PageStart')->value;
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('PageEnd')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'] = 1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start'] < 0)
    $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start']);
else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['loop']-1);
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['max']);
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['total']);
?>    
                                <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['Page']['index']==$_smarty_tpl->getVariable('Data')->value['CurrentPage']){?>
                                    <strong><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['Page']['index'];?>
</strong>
                                <?php }else{ ?>
                                    <a href="./?application=web&controller=news&page=<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['Page']['index'];?>
" target="_self">
                                        <?php echo $_smarty_tpl->getVariable('smarty')->value['section']['Page']['index'];?>

                                    </a>
                                <?php }?>
                                &nbsp;
                            <?php endfor; endif; ?>                            
                        <?php if ($_smarty_tpl->getVariable('Data')->value['PageCount']-$_smarty_tpl->getVariable('Data')->value['CurrentPage']!=0){?>
                            <a href="./?application=web&controller=news&page=<?php echo $_smarty_tpl->getVariable('Data')->value['CurrentPage']+1;?>
"> &gt;&gt; </a>
                        <?php }else{ ?>
                            &gt;&gt;
                        <?php }?>                                        
                    </td>
                  </tr>
                </table>
              </div></td>
              </tr>
          </table></td>
        </tr>
      </table></td>
      <td width="20" valign="top">&nbsp;</td>
      <td valign="top"><?php $_template = new Smarty_Internal_Template("_right.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?></td>
    </tr>
  </table>
</div>
<?php $_template = new Smarty_Internal_Template("_footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
</body></html>